package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreFollow;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-11-19
 */
public interface StoreFollowService extends IService<StoreFollow> {

    Page<StoreFollow> pageList(PageUtil pageUtil, String storeUid, String beginDate, String endDate, String keyword, Integer source, Integer operate);

    List<StoreFollow> listByStoreUid(String storeUid, Integer source, Integer operate);

    List<StoreFollow> listByStoreUidAndOperate(String storeUid, Integer operate);

    boolean used(String uid);
}
